import random

random_number = random.randint(1, 100)

times = 1
user_number = int(input("Guess a number between 1 and 100: "))
while user_number != random_number:
    if user_number> random_number:
        print("你猜的数字大了")
    else:
        print("你猜的数字小了")
    times += 1    
    user_number = int(input("请重新输入一个数字: "))    

# print("哇塞,正确的数字就是", user_number)
print(f"哇塞,正确的数字就是{user_number}")
print("恭喜你%d次就猜对了！！！" % times)    

print("你是唯一一个,经过%d次就能猜对数字是%d的人" % (times, user_number))